package lt.marsrutai.mobile.android.activity.intent;

import lt.marsrutai.mobile.android.activity.RunStopsActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class RunStopsIntentHolder extends IntentHolder {

    private static final String SCOPE_FOLDER = "scopeFolder";
    private static final String SCOPE_NAME = "scopeName";

    private static final String TRANSPORT_ID = "transportId";

    private static final String SCHEDULE_ID = "scheduleId";
    private static final String SCHEDULE_NAME = "scheduleName";
    private static final String SCHEDULE_TRACK_NAME = "scheduleTrackName";

    private static final String TRACK_ID = "trackId";
    private static final String TRACK_NAME = "trackName";

    private static final String STOP_ID = "stopId";
    private static final String STOP_NAME = "stopName";
    private static final String STOP_DIRECTION_NAME = "stopDirectionName";
    
    private static final String RUN_ID = "runId";
    private static final String SCHEDULED_TIME = "scheduledTime";

    public RunStopsIntentHolder(Activity sourceActivity) {
        super(sourceActivity, RunStopsActivity.class);
    }

    public RunStopsIntentHolder(Intent intent) {
        super(intent);
    }

    public RunStopsIntentHolder(Bundle bundle) {
        super(bundle);
    }

    public void setScopeFolder(String scopeFolder) {
        intent.putExtra(SCOPE_FOLDER, scopeFolder);
    }

    public String getScopeFolder() {
        return intent.getStringExtra(SCOPE_FOLDER);
    }

    public void setScopeName(String scopeName) {
        intent.putExtra(SCOPE_NAME, scopeName);
    }

    public String getScopeName() {
        return intent.getStringExtra(SCOPE_NAME);
    }

    public void setTransportId(String transportId) {
        intent.putExtra(TRANSPORT_ID, transportId);
    }

    public String getTransportId() {
        return intent.getStringExtra(TRANSPORT_ID);
    }

    public void setScheduleId(String scheduleId) {
        intent.putExtra(SCHEDULE_ID, scheduleId);
    }

    public String getScheduleId() {
        return intent.getStringExtra(SCHEDULE_ID);
    }

    public void setScheduleName(String scheduleName) {
        intent.putExtra(SCHEDULE_NAME, scheduleName);
    }

    public String getScheduleName() {
        return intent.getStringExtra(SCHEDULE_NAME);
    }

    public void setScheduleTrackName(String scheduleTrackName) {
        intent.putExtra(SCHEDULE_TRACK_NAME, scheduleTrackName);
    }

    public String getScheduleTrackName() {
        return intent.getStringExtra(SCHEDULE_TRACK_NAME);
    }

    public void setTrackId(String trackId) {
        intent.putExtra(TRACK_ID, trackId);
    }

    public String getTrackId() {
        return intent.getStringExtra(TRACK_ID);
    }

    public void setTrackName(String trackName) {
        intent.putExtra(TRACK_NAME, trackName);
    }

    public String getTrackName() {
        return intent.getStringExtra(TRACK_NAME);
    }

    public void setStopId(String stopId) {
        intent.putExtra(STOP_ID, stopId);
    }

    public String getStopId() {
        return intent.getStringExtra(STOP_ID);
    }

    public void setStopName(String stopName) {
        intent.putExtra(STOP_NAME, stopName);
    }

    public String getStopName() {
        return intent.getStringExtra(STOP_NAME);
    }

    public void setStopDirectionName(String stopDirectionName) {
        intent.putExtra(STOP_DIRECTION_NAME, stopDirectionName);
    }

    public String getStopDirectionName() {
        return intent.getStringExtra(STOP_DIRECTION_NAME);
    }
    
    public void setRunId(String runId) {
        intent.putExtra(RUN_ID, runId);
    }

    public String getRunId() {
        return intent.getStringExtra(RUN_ID);
    }

    public void setScheduledTime(String scheduledTime) {
        intent.putExtra(SCHEDULED_TIME, scheduledTime);
    }

    public String getScheduledTime() {
        return intent.getStringExtra(SCHEDULED_TIME);
    }


}
